import http from '@/utils/request'

//回显图片
export async function getPicturesByBidApi(parm){
  return await http.getRestApi("/pictures",parm)
}

//上传图片
export async function uploadPicturesApi(parm){
  return await http.upload("/pictures/upload",parm)
}

//删除图片
export async function deletePicturesApi(parm){
  return await http.delete("/pictures",parm)
}

//关联删除图片
export async function deleteAllFilesApi(parm){
  return await http.delete("/pictures/all",parm)
}
